# Contributor: Dmitry Romanenko <dmitry@romanenko.in>
# Maintainer: Dmitry Romanenko <dmitry@romanenko.in>
pkgname=py3-k5test
_pkgname=k5test
pkgver=0.10.1
pkgrel=0
pkgdesc="A library for testing Python applications in self-contained Kerberos 5 environments"
url="https://github.com/pythongssapi/k5test"
arch="noarch"
license="MIT"
depends="python3 py3-six krb5-dev krb5 krb5-server"
makedepends="py3-setuptools"
options="!check" # Package doesn't have tests
source="https://files.pythonhosted.org/packages/source/k/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
eaf451f0a932fdb8758f23e17ec52b2c1617074f186dddfba1d9c6844291fb2f4b003e05f4a0e02ce1bae37ee4251ea8295d2ebc8d9002c83d3179000fa4785e  k5test-0.10.1.tar.gz
"
